package various;


import lejos.nxt.LCD;

public class StampaMatrix {

	public static void main(String[] args) throws Exception {
		int[][] m = new int[5][5];
		for (int i = 0; i < m.length; i++) {
			for (int j = 0; j < m[0].length; j++) {
				if (i == 0 || i == m.length - 1 || j == 0
						|| j == m[0].length - 1) {
					m[i][j] = 1;
				}
				LCD.drawInt(m[i][j], i, j);
				Thread.sleep(500);
			}
		}
		Thread.sleep(10000);

	}

}
